using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class CHOADONDTO
    {
        #region "Atributes"
        private int m_MaHoaDon;
        private string m_TenKhachThanhToan;
        private string m_DiaChi;
        private int m_TriGia;
        private DateTime m_NgayKetThuc;
        private bool m_TinhTrang;
        private int m_MaTiepTan;
        #endregion
        #region "Property"
        public int MaHoaDon
        {
            get { return m_MaHoaDon; }
            set { m_MaHoaDon = value; }
        }
       
        public string TenKhachThanhToan
        {
            get { return m_TenKhachThanhToan; }
            set { m_TenKhachThanhToan = value; }
        }
       
        public string DiaChi
        {
            get { return m_DiaChi; }
            set { m_DiaChi = value; }
        }
        
         public int TriGia
        {
            get { return m_TriGia; }
            set { m_TriGia = value; }
        }

        public DateTime NgayKetThuc
        {
            get { return m_NgayKetThuc; }
            set { m_NgayKetThuc = value; }
        }
        
        public bool TinhTrang
        {
            get { return m_TinhTrang; }
            set { m_TinhTrang = value; }
        }        

        public int MaTiepTan
        {
            get { return m_MaTiepTan; }
            set { m_MaTiepTan = value; }
        }
        #endregion
        #region "Constructors"
        public CHOADONDTO()
        {
            MaHoaDon = 0;
            TenKhachThanhToan = "";
            DiaChi = "";
            TriGia = 0;
            NgayKetThuc = DateTime.Now;
            TinhTrang = false;
            MaTiepTan = 0;
        }
        public CHOADONDTO(string tenKhachThanhToan, string diaChi, int triGia, DateTime ngayKetThuc, bool tinhTrang, int maTiepTan)
        {          
            TenKhachThanhToan = tenKhachThanhToan;
            DiaChi = diaChi;
            TriGia = triGia;
            NgayKetThuc = ngayKetThuc;
            TinhTrang =tinhTrang;
            MaTiepTan =maTiepTan;
        }
        #endregion
    }
}
